package com.bootdo.system.service.impl;

import com.bootdo.system.dao.SecurityDao;
import com.bootdo.system.domain.SecurityDo;
import com.bootdo.system.service.SecurityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SecurityServiceImpl implements SecurityService {

    @Autowired
    SecurityDao securityDao;


    @Override
    public SecurityDo getCodeDo() {
        return securityDao.getCodeDo();
    }

    @Override
    public int queryByCode(Long code) {
        return securityDao.queryByCode(code);
    }
}
